<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body>
	<f:loadBundle basename="kategori" var="kat"/>
	<h:form>
		<p:panelGrid columns="2">
		<p:outputLabel for="ustkategori" value="#{kat.lbl_ust_kategori}"/>
		<p:selectOneMenu id="ustkategori" value="#{kategoriGuncelle.selectedUstKategori}" effect="fold">
            <f:selectItem itemLabel="Select One" itemValue="" />
            <f:selectItems value="#{kategoriGuncelle.ustKategoriList}" />
        </p:selectOneMenu>	
        <p:outputLabel for="kategoriad" value="#{kat.lbl_kategori_ad}"/>
        <p:inputText id="kategoriad" value="#{kategoriGuncelle.kategoriAd}"/>
        <p:outputLabel for="kategorisira" value="#{kat.lbl_kategori_sira}"/>
        <p:inputText id="kategorisira" value="#{kategoriGuncelle.kategoriSira}"/>
    </p:panelGrid>    
        <p:commandButton value="#{kat.btn_tamam}" action="#{kategoriGuncelle.updateKategori()}"/>
	
	</h:form>
</h:body>
</html>
